revealer: emit notify::child-revealed when animation stops
authorMatthieu Gautier <matthieu.gautier@mgautier.fr>
Wed, 4 May 2016 10:42:40 +0000 (12:42 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 6 May 2016 20:09:12 +0000 (16:09 -0400)
commit82aa83b0f685f80343d2e60663d07ec51aecb688
treee4abe898496a09bc423a00ac310ce795221a73fc
parentcd581c9e81b6a1c92b527c059df07d59ecd6c2eb
revealer: emit notify::child-revealed when animation stops

Depending of float rounding during target calculation, the size of the
GtkRevealer can be set to zero will the animation is not finished.
If the GtkRevealer is in a GtkPaned, it will be hidden and so the animation
will be stopped before it is finished.

In this case, force the emission of the child-revealed signal to let
client code know the animation is finished.

https://bugzilla.gnome.org/show_bug.cgi?id=765973
gtk/gtkrevealer.c